export interface MaterialType {
  limit?: number;
  /**
   * 机构id
   */
  oid?: number;
  page?: number;
  [property: string]: any;
}

export interface AddOrUpMaterial {
  /**
   * 物料分类id 修改时传递
   */
  id?: number;
  /**
   * 物料分类名称
   */
  name: string;
  oid?: number;
  operatorId?: number;
  [property: string]: any;
}

export interface DelMaterial {
  materialTypeId?: number;
  operatorId?: number;
  [property: string]: any;
}

export interface AddOrUpUnit {
  id?: number;
  name: string;
  oid?: number;
  operatorId?: number;
  [property: string]: any;
}

export interface DelUnit {
  materialUnitId?: number;
  operatorId?: number;
  [property: string]: any;
}

export interface Material {
  materialUnitId?: number;
  materialTypeId?: number;
  materialId?: number;
  name: string;
  operatorId?: number;
  oid?: number;
  [property: string]: any;
}

export interface Detail {
  /**
   * 物料档案id
   */
  materialId: number;
  [property: string]: any;
}